from dataclasses import dataclass
from typing import List

# 搜索条件
@dataclass
class SearchCondition:
    # 分类
    category: str = None
    # 话题
    status: str = None
    # 标签
    tags: List[str] = None
    # tags: str = None
    # 发帖人
    posted_by: str = None